﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq.Mapping;
namespace MRSite.Entity
{
    /// <summary>
    /// 签到表
    /// </summary>
    [Table(Name = "qiandao")]
    public class QianDao : Entity
    {
        /// <summary>
        ///
        /// </summary>
        [Column(Name = "id", IsPrimaryKey = true, CanBeNull = false, IsVersion = true)]
        public override int id { get; set; }

        /// <summary>
        ///
        /// </summary>
        [Column(Name = "memberid")]
        public int memberid { get; set; }

        /// <summary>
        ///
        /// </summary>
        [Column(Name = "membername")]
        public String membername { get; set; }


        /// <summary>
        ///   奖励金额
        /// </summary>
        [Column(Name = "val")]
        public decimal val { get; set; }

        /// <summary>
        ///  签到时间
        /// </summary>
        [Column(Name = "addtime")]
        public DateTime addtime { get; set; }

        /// <summary>
        ///   签到第几天
        /// </summary>
        [Column(Name = "grade")]
        public int grade { get; set; }


        /// <summary>
        ///
        /// </summary>
        [Column(Name = "remark")]
        public String remark { get; set; }


    }
}
